Algorithm - Next Smallest Palindrome